package edu.gdkm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller

public class SecondController {
    @RequestMapping("/secondController")
    public String toindex(Model model){
        model.addAttribute("msg","second springmvc");
        return "index";
    }
}
